import type { Announcement } from "@/interface/announcementData";
import { ref } from "vue";

export default function announcementData() {
    const Localannouncements = ref<Announcement[]>([
        {
            id: 1,
            title: "勤工俭学岗位申请开始",
            user: 25538,
            detaile: "本学期勤工俭学岗位申请已开放，欢迎同学们报名！",
            createAt: new Date(),
            publishTime: new Date(),
        },
        {
            id: 2,
            title: "工资发放通知",
            user: 25538,
            detaile: "上月勤工俭学工资已发放，请同学们及时查收。",
            createAt: new Date(),
            publishTime: new Date(),
        },
        {
            id: 3,
            title: "勤工岗位调整",
            user: 25538,
            detaile: "部分岗位因需求变更，请同学们注意查看最新安排。",
            createAt: new Date(),
            publishTime: new Date(),
        },
        {
            id: 4,
            title: "安全提醒",
            user: 25538,
            detaile: "勤工俭学过程中请注意安全，遵守相关规定。",
            createAt: new Date(),
            publishTime: new Date(),
        },
    ]);

    return Localannouncements;
}
